Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / MultiScalingBitmapManager Class / MultiScalingBitmapManager Constructor / MultiScalingBitmapManager Constructor(Assembly,String,Single[])
The assembly that contain the specified Bitmap resource. If the assembly is null, that mean the specified Bitmap resource is file.
The original path (1x version) of specifed Image resource.
The scale factors of the specified scale versions of the Bitmap resource that would be used to create the result Bitmap.


In This Topic
    MultiScalingBitmapManager Constructor(Assembly,String,Single[])
    In This Topic
    Initializes the MultiScalingBitmapManager object. The manager would create the getting request Bitmap by scaling from the existing specified scaling versions of the Bitmap. The manager would preload the existing specified scaling versions of the Bitmap into the manager.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal assembly As Assembly, _
       ByVal resourcePath As String, _
       ByVal scaleFactors() As Single _
    )
    'Usage
     
    
    Dim assembly As Assembly
    Dim resourcePath As String
    Dim scaleFactors() As Single
     
    Dim instance As New MultiScalingBitmapManager(assembly, resourcePath, scaleFactors)
    public MultiScalingBitmapManager( 
       Assembly assembly,
       string resourcePath,
       float[] scaleFactors
    )

    Parameters

    assembly
    The assembly that contain the specified Bitmap resource. If the assembly is null, that mean the specified Bitmap resource is file.
    resourcePath
    The original path (1x version) of specifed Image resource.
    scaleFactors
    The scale factors of the specified scale versions of the Bitmap resource that would be used to create the result Bitmap.
    See Also